package com.xjtu.duansheli.service;

import com.xjtu.duansheli.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 漩涡鸣人
 * @since 2020-10-24
 */
public interface UserInfoService extends IService<UserInfo> {
    public List<UserInfo> getAllUser(int current, int size);
    public UserInfo getUserByid(Long uid);
    public int addUser(UserInfo user);
    public int updateUser(UserInfo user);
    public int deleteUser(Long uid);
    public UserInfo getUserByPhone(String phone);
    public int getTotal();
}
